.message-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tts-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-controls {
  display: flex;
  align-items: center;
}

.voice-selector-compact {
  min-width: 100px;
}

.voice-selector-compact .voice-selector-trigger {
  padding: 6px 10px;
  font-size: 12px;
}

.voice-selector-compact .voice-name {
  font-size: 12px;
}

.voice-selector-compact .voice-gender {
  font-size: 10px;
  padding: 1px 4px;
}

.tts-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #34C759;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(52, 199, 89, 0.3);
}

.tts-button:hover:not(:disabled) {
  background: #30B04F;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(52, 199, 89, 0.4);
}

.tts-button:disabled {
  background: #C7C7CC;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tts-button.playing {
  background: #FF3B30;
  animation: pulse-playing 1.5s ease-in-out infinite;
}

@keyframes pulse-playing {
  0%, 100% { 
    box-shadow: 0 1px 3px rgba(255, 59, 48, 0.3);
  }
  50% { 
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.5);
  }
}

.tts-button.playing:hover:not(:disabled) {
  background: #E6342A;
}

.tts-button.loading {
  background: #FF9500;
  animation: pulse-loading 1s ease-in-out infinite;
}

@keyframes pulse-loading {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.tts-status {
  font-size: 12px;
  color: #8E8E93;
  font-weight: 400;
}

